home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / LORD2B6.ZIP / GREEN.REF < prev    next >
Text File  |  1997-05-18  |  8KB  |  460 lines

  1. ;Ref for the town of Greentree.
  2.  
  3. @#drag
  4. ;stone dragon
  5. @do saybar
  6. A magnificent stone dragon.  To honor a warrior who killed it years ago.
  7. @do moveback
  8.  
  9. @#H1talk
  10. ;house 1
  11. @DO SAYBAR
  12. Please do not use my restroom.
  13. @do moveback
  14.  
  15. @#bum
  16. ;the bum who is in front of Ma's boarding house
  17. @do `p20 random 9 1
  18. @if `p20 is 1 then saybar
  19. `%Bum: `0Hey you! `2::hic::`0 Yeah!! Whachu lookin' at???
  20. @if `p20 is 2 then saybar
  21. `%Bum: `0Ma's a big woman.. `2::hic::`0 but the biggin's are the bestest!!
  22. @if `p20 is 3 then saybar
  23. `%Bum: `0I'll drink to that!
  24. @if `p20 is 4 then saybar
  25. `%Bum: `0Wassup peasant s&boy! Go back to your farm! `2::hic::
  26. @if `p20 is 5 then saybar
  27. `%Bum: `0A little drinkie in the `2::hic:: `0morning keeps the doctor away!
  28. @if `p20 is 6 then saybar
  29. `%Bum: `0Ma's boarding house is the safest place in `2::hic:: `0town!
  30. @if `p20 is 7 then saybar
  31. `%Bum: `0Watch out for little Elle.. if she ain't the darndest thing!
  32. @if `p20 is 8 then saybar
  33. `%Bum: `0I hate Greentree!  I wanna move to `2::hic:: `0Bonetown!!!
  34. @if `p20 is 9 then saybar
  35. `%Bum: `0Stay the `bHELL AWAY`0 from the dark forest, s&boy!
  36.  
  37.  
  38. @do moveback
  39.  
  40. @#FOUNTAIN
  41. ;Fountain on the east side of town.
  42. @DO SAYBAR
  43. `2The pond is beautiful in the sunlight.
  44.  
  45. @#H1TABLE
  46. ;Gate for the rich folk.
  47. @DO SAYBAR
  48. `2There is nothing on the table.
  49. @do moveback
  50.  
  51. @#H1TOILET
  52. @If `i21 > 0 then do
  53. @BEGIN
  54. @DO SAYBAR
  55. `2Looks just like a toilet.
  56. @do moveback
  57. @CLOSESCRIPT
  58. @END
  59. @DO `i21 + 1
  60. @DO SAYBAR
  61. `2You find a travel pass, someone must've dropped it while dropping it.
  62. @do moveback
  63. @end
  64.  
  65. @#BIGTREE
  66. ;Big tree in the middle area.
  67. @DO SAYBAR
  68. `2Giant tree from the Northern lands.
  69. @do moveback
  70.  
  71. @#GUARDLOOK
  72. ;Going by the guard's wall
  73. @DO SAYBAR
  74. `2The Royal Guard eyes you as you pass by...
  75.  
  76. @#PICNIC
  77. ;Sign for the picnic area
  78. @DO SAYBAR
  79. `2Picnic area, all enjoy!!
  80. @do moveback
  81.  
  82.  
  83. @#RICHGATE
  84. ;Gate for the rich folk.
  85. @DO SAYBAR
  86. `2The guards do not let you pass and are quite rude.
  87. @do moveback
  88.  
  89. @#PORTTOWN
  90. ;Sign pointing to PortTown.
  91. @DO SAYBAR
  92. `2North to PortTown, gateway to the sea and land 'o pirates.
  93. @do moveback
  94.  
  95. @#DOCK
  96. ;Sign at the dock.
  97. @DO SAYBAR
  98. `2Fishing dock --->.
  99. @do moveback
  100.  
  101. @#GUARD1
  102. ;at 'special' enterance
  103. @DO SAYBAR
  104. `0"Move along you!  This gate is for nobles only!"`2 the guard commands.
  105. @do moveback
  106.  
  107. @#GUARD2
  108. ;other guard at 'special' enterance
  109. @do SAYBAR
  110. `0"Get out of here, you peasant!" `2barks the guard.
  111. @do moveback
  112.  
  113. @#SHEEPMAN
  114. ;herder, need to talk to him to get access to the 'love machines'
  115. @do SAYBAR
  116. `0"Why you wanna go back there to see the royal sheep?" `2asks the herder.
  117. @do moveback
  118.  
  119.  
  120. @#SHEEP
  121. ;the sheep, oh yes.
  122. @do SAYBAR
  123. `0"Bahhhh!!  Bahh!!!"`2 it screams as you gently caress it.
  124. @do moveback
  125.  
  126. @#healers
  127. @offmap
  128. @do moveback
  129. @do `v01 is 1
  130. @show
  131. `r0`c  `%The Healers
  132.  
  133. `2  Nathan looks you over for wounds.
  134.  
  135. @do write
  136. `x`x
  137. @if `p02 < `p03 then do
  138.  @begin
  139. @do `p20 is `p03
  140. @do `p20 - `p02
  141. @do `p20 / 2
  142.  
  143.  
  144.  @show
  145. `0"You don't look so good, friend!  I'll fix ya up for `$`p20`0 gold, k?"
  146.  
  147. @do write
  148. `x`x
  149. @choice
  150. Heal yourself for `$$`p20`%. (you have `$$&money`%)
  151. Limp on out.
  152. @show
  153. `\
  154. @if response is 1 then do begin
  155.  @begin
  156.  @if money < `p20 then do
  157.   @begin
  158.   @show
  159.   `0"Sorry old s&boy, we don't do charity work here."
  160.  
  161.  @do write
  162. `x`x
  163.  @choice
  164. Well Christ!  How am I supposed to make money when I can barely walk?
  165. Jesus, how 'bout a little compassion for once in your life old man!
  166. How 'bout some of your 'special' pills then?
  167. Yes sir.
  168. @show
  169.  
  170.  
  171. @if response is 4 then do
  172.  @begin
  173.  @show
  174.   `0"That's a good lad, now get along with you!" `2 he laughs.
  175.  
  176. `k
  177.  @end
  178.  
  179. @if response is 1 then do
  180.  @begin
  181.  @show
  182.   `0"Damn it, s&boy, be a s&man for once in your life!"`2 he yells.
  183.  
  184. `k
  185.  @end
  186. @if response is 2 then do
  187.  @begin
  188.  @show
  189.   `0"I cannot respect a man who doesn't work," `2Nathan informs you.
  190.  
  191. `k
  192.  @end
  193. @if response is 3 then do
  194.  @begin
  195.  @do `p02 = 1
  196.  @show
  197.   `0"Sure.  Take uh.. these." `2 he snickers.
  198.  
  199.   `2You gulp down the weird black pills
  200.  
  201.   `4HIT POINTS GO DOWN TO 1.
  202.  
  203. `k
  204.  @end
  205.  
  206.   @drawmap
  207.   @update
  208.   @closescript
  209.   @end
  210.  
  211. @do money - `p20
  212. @do `p21 = `p03
  213. @do `p21 - `p02
  214. @do `p02 = `p03
  215. @show
  216.   `2You feel much better as `0`p21`2 hitpoints are restored.
  217.  
  218. `k
  219.   @end
  220.   @drawmap
  221.   @update
  222.   @closescript
  223. @end
  224.  
  225. @show
  226. `0"You have no ailments, come back later," `2Nathan laughs.
  227.  
  228. `k
  229. @drawmap
  230. @update
  231.  
  232. @#bank
  233. @do `v01 is 1
  234. @offmap
  235. @do moveback
  236. @label bankstart
  237. @show
  238. `r0`c  `r1 `%1st Bank Of Greentree `r0
  239.  
  240. `2  A young clerk eyes you nervously.
  241.  
  242. @if bank more 0 then do
  243.  @begin
  244.  @show
  245. `2  You are holding `$$&money`2, your account is at `$$&bank`2.
  246.  
  247.  @end
  248.  
  249. @if bank is 0 then do
  250.  @begin
  251.  @show
  252. `2  You currently don't have an account with them.
  253.  
  254.  @end
  255.  
  256. @do write
  257. `x`x
  258. @choice
  259. >&bank 0 Make a deposit.
  260. >&bank 0 Make a withdraw.
  261. =&bank 0 Apply for an account here.
  262. Leave
  263. @if response is 3 then do
  264.   @begin
  265.   @do `v01 is 1
  266.   @show
  267.  
  268.  
  269.   `2The nervous boy asks you to sit down.
  270.  
  271.   `0"Your full name s&sir?"
  272.   @do `s01 is NIL
  273.   @do write
  274. `x`x
  275.   @do readstring 30 `s01
  276.   @show
  277.  
  278.  
  279.   `0"Your current residence?"
  280.  
  281.   @do write
  282. `x`x
  283.   @do readstring 50 `s01
  284.  
  285.   @show
  286.  
  287.  
  288.   `0"Your net income yearly?"
  289.  
  290.   @do write
  291. `x`x
  292.   @do readnum 10
  293.   @if `v40 less 20 then do
  294.   @begin
  295.   @show
  296.  
  297.   @end
  298.  
  299.   @if `v40 more 19 then do
  300.    @begin
  301.    @show
  302.  
  303.  
  304.   `2You giggle to yourself `0-`2 how will they know you just totally lied on
  305.   that last question?!??  You only made `b19`2 gold pieces last year!
  306.   @end
  307.   @label bankagain
  308.   @show
  309.  
  310.   `0"How much would you like to open your account with?" `2(you have `$$&money`2)
  311.  
  312.   @do write
  313. `x`x
  314.   @do readnum 10 money
  315.   @if `v40 is 0 then do
  316.    @begin
  317.    @show
  318.  
  319.  
  320.   `2You decide you really don't want to open an account with this
  321.   branch.
  322.  
  323. `k
  324.   @do goto bankstart
  325.   @end
  326.  
  327.   @if `v40 > money then do
  328.    @begin
  329.    @show
  330.  
  331.  
  332. `2  You don't have this much!  Try again.
  333.    @do goto bankagain
  334.    @end
  335.  
  336.   @if `v40 < 50 then do
  337.   @begin
  338.   @if money < 50 then do
  339.    @begin
  340.   @show
  341.  
  342.   `2The clerk eyes your shabby clothing distastefully - as if he knew
  343.   this part was coming.
  344.  
  345.   `0"I'm sorry s&sir, we do require `$$50 `2to open an account.  And could
  346.   you please leave the pen on your way out." `2he asks haughtily.
  347.  
  348. `k  `2You carefully return the pen.  `$"I'll be back someday.  And you WILL
  349.   open an account for me then," `2you vow seriously.
  350.  
  351.   `0"Of course you will, s&sir.  Please exit now, remember, the sign does
  352.   say no loitering.  And this means you." `2he says as he points to the
  353.   door.
  354.  
  355. `k
  356. @drawmap
  357. @update
  358. @closescript
  359.    @end
  360.  
  361.   @show
  362.  
  363.  
  364.   `0"S&Sir, `$$50 `0is required to open a new account!"
  365.   @do goto bankagain
  366.   @end
  367.   @do money - `v40
  368.   @do bank + `v40
  369.   @show
  370.  
  371.  
  372.   `0"Very good S&sir!  Your new account has been opened!"
  373.  
  374. `k
  375.   @do goto bank
  376.   @end
  377.  
  378.  
  379. @if response is 1 then do
  380.   @begin
  381.   @do write
  382. `\
  383.   @label deposit
  384.   @do write
  385. `\  `0"Deposit how much, s&sir?"`\`\`x`x
  386.   @do readnum 10 money
  387.   @if `v40 more money then do
  388.   @begin
  389.   @show
  390. `\`\  `2Maybe you left the money in your other pants?  'cuz it sure ain't here.
  391.   @do goto deposit
  392.   @end
  393.   @if `v40 less 0 then do
  394.   @begin
  395.   @show
  396. `\`\  `2No, this isn't happening and you aren't here.
  397.   @do goto withdraw
  398.   @end
  399.  
  400.   @do money - `v40
  401.   @do bank + `v40
  402.   @do goto bankstart
  403.  
  404.   @end
  405.  
  406. @if response is 2 then do
  407.   @begin
  408.   @do write
  409. `\
  410.   @label withdraw
  411.   @do write
  412. `\  `0"Withdraw how much, s&sir?"`\`\`x`x
  413.   @do `p21 is bank
  414.   @do `p21 - 1
  415.   @if `p21 < 0 then `p21 is 0
  416.   @do readnum 10 `p21
  417.   @if `v40 more bank then do
  418.   @begin
  419.   @show
  420. `\`\  `2You kind of don't have that much in your account.  Nice bookkeeping!
  421.   @do goto withdraw
  422.   @end
  423.  
  424.   @if `v40 less 0 then do
  425.   @begin
  426.   @show
  427. `\`\  `2No, I don't think so.
  428.   @do goto withdraw
  429.   @end
  430.  
  431.   @if `v40 is bank then do
  432.    @begin
  433.    @show
  434.  
  435.  
  436.   `0"But s&sir!  This will close your account with us, are you sure you wish
  437.   to do that?" `2the clerk chokes.
  438.  
  439.   @do write
  440. `x`x
  441.   @do `v01 is 1
  442.   @choice
  443. Ok, nevermind then.
  444. Yeah.  Get my damn money.
  445. @if response is 1 then goto bank
  446.  
  447.    @end
  448.  
  449.   @do money + `v40
  450.   @do bank - `v40
  451.   @do goto bankstart
  452.   @end
  453.  
  454.  
  455.  
  456. @drawmap
  457. @update
  458.  
  459. @#CLOSESCRIPT
  460.